package com.zhy.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Author zhy
 * @Description
 * @ClassName PaymentFallbackService
 * @Date 2020/12/8 16:32
 **/
@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_ok(Integer id) {
        return "------------------ paymentFallbackService fall back ";
    }

    @Override
    public String pyamentInfo_TimeOut(Integer id) {
        return "------------------ paymentFallbackService fall back ";
    }
}
